package com.qidianit.mes.pro.mapper;

import com.qidianit.mes.pojo.pro.Workflow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.util.ArrayList;
import java.util.List;
@Mapper
public interface WorkflowMapper {
    ArrayList<Workflow> selectList(Workflow workflow);
    Workflow selectByWorkflowCode(String workflowCode);
    int insertWorkflow(Workflow workflow);
    int updateId(Workflow workflow);
    int deleteById(Long id);
    int batchDelete(@Param("ids")Long[] ids);



    ArrayList<Workflow> selectWorkflowById(@Param("ids") Long[] ids);
    ArrayList<Process> selectProcessByWorkflowId(Long id);
}
